package reflect;

import java.util.Arrays;

public class ArgDemo {
    //变长参
    public static void main(String[] args) {
        doSome("a","b");
    }
    public static void doSome(String... arg){
        System.out.println(arg.length);
        System.out.println(Arrays.toString(arg));
    }
}
